package com.qixiaobao.nondirect.invoice.mapper;

import com.qixiaobao.nondirect.invoice.domain.domain.Invoice;
import org.apache.ibatis.annotations.Mapper;

/**
 * @Description 开票信息  数据层
 * @Author yangxm
 * @Date 2025/7/3 14:26
 */
@Mapper
public interface InvoiceMapper {


    /**
     * 根据ID查询开票信息
     *
     * @param id 开票ID
     * @return 开票信息
     */
    Invoice selectInvoiceById(Long id);

    /**
     * @Description 更新 保险费发票凭证和状态
     * @Author yangxm
     * @Date 2025/7/3 14:31
     * @param invoice
     * @return int
     */
    int updateInsureFeeProof(Invoice invoice);
}
